/**
 * 
 * 
 * @author 吕婧
 *
 */
package com.ccb.lms.service;

import java.sql.SQLException;
import java.util.List;

import com.ccb.lms.model.Library;
import com.ccb.lms.util.BasePage;



public interface ILibraryService {
	public List<Library> getAllLibrary();   
    
    public Library getLibraryById(Integer libraryNO);   
   
	public List<Library> getLibraryByPage(BasePage basePage);
	
	public int getLibraryCount();
       
    public boolean insertLibrary(Library library);   
       
    public boolean updateLibrary(Library library);   
       
    public boolean deleteLibrary(Integer libraryNO); 
    
    public BasePage getBasePage(int currentPage, int showRecordNum);
}
